<template>
  <div class="dashboard-container">
    <div class="app-container">
     <el-card>
      <div class="btn-area">
        <el-button type="info">新增试题</el-button>
        <el-button type="info">批量导入</el-button>
        <!-- 筛选区域 -->
        <el-form>
          <el-row>
            <el-col :span="6">
              <el-form-item label="学科" label-width="80px">
                <el-select v-model="value" placeholder="请选择">
                  <el-option
                  v-for="item in options"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                  </el-option>
                </el-select>
              </el-form-item>
              <el-form-item label="城市" label-width="80px">
                <el-select v-model="value" placeholder="请选择">
                  <el-option
                  v-for="item in options"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value">
                  </el-option>
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
        </el-form>
      </div>
     </el-card>
       <el-table
          :data="tableData"
          border
          style="width: 100%">
          <el-table-column
            fixed
            prop="date"
            label="序号"
            width="50">
          </el-table-column>
          <el-table-column
            prop="name"
            label="考试编号"
            width="100">
          </el-table-column>
          <el-table-column
            prop="province"
            label="学科"
            width="100">
          </el-table-column>
          <el-table-column
            prop="city"
            label="题型"
            width="100">
          </el-table-column>
          <el-table-column
            prop="address"
            label="题干"
            width="200">
          </el-table-column>
          <el-table-column
            prop="zip"
            label="录入时间"
            width="100">
          </el-table-column>
          <el-table-column
            prop="zip"
            label="难度"
            width="100">
          </el-table-column>
          <el-table-column
            prop="zip"
            label="使用次数"
            width="100">
          </el-table-column>
          <el-table-column
            prop="zip"
            label="录入人"
            width="100">
          </el-table-column>
          <el-table-column
            fixed="right"
            label="操作"
            width="100">
            <!-- <template slot-scope="scope">
              <el-button @click="handleClick(scope.row)" type="text" size="small">查看</el-button>
              <el-button type="text" size="small">编辑</el-button>
            </template> -->
          </el-table-column>
        </el-table>
        <div class="block">
          <span class="demonstration"></span>
          <el-pagination
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
            :current-page="currentPage4"
            :page-sizes="[5, 4, 3, 2, 1]"
            :page-size="100"
            layout="total, sizes, prev, pager, next, jumper"
            :total="5">
          </el-pagination>
        </div>
    </div>
  </div>
</template>

<script>
import {list} from '@/api/hmmm/questions.js'
export default {
  name: 'QuestionsList',
  data() {
    return {
      options:[],
      subjectValue:''
    }
  }
}
</script>

<style scoped>
</style>
